/**
 * 响应类型
 */
export interface ResponseType<T> {
	code: number;
	message: string | any;
	data: T | any;
	ok: boolean;
}

/**
 * 分页查询的数据类型
 */
export interface PageType<T> {
	countId: number | null;
	current: number;
	hitCount: boolean | null;
	maxLimit: number | null;
	optimizeCountSql: boolean | null;
	orders: T[];
	pages: number;
	records: T[];
	searchCount: number | null;
	size: number;
	total: number;
}
